# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-sphinxcontrib-images
_pkgname=sphinxcontrib-images
pkgver=0.9.2
pkgrel=0
pkgdesc="Sphinx images extension"
url="https://github.com/sphinx-contrib/images"
arch="noarch"
license="Apache-2.0"
depends="py3-requests py3-sphinx"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-sphinxcontrib-images" # Backwards compatibility
provides="py-sphinxcontrib-images=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="ffadc362782d6496cb1435c10cddbb064605808b202750f96716bd00a6956b01d84af563d7f0e82333c0015b4f46ef4ee444b0a36501afe2b979bb6aa59e01f0  sphinxcontrib-images-0.9.2.tar.gz"
